import request from '@/plugins/request';
// 标签列表
export function tagList(data) {
    return request({
      url: "/v1/base/tags/index",
      method: "get",
      params: data,
    });
}
  
//新增标签
export function createTag(data) {
    return request({
        url: "/v1/base/tags/create-tags",
        method: "post",
        data,
    });
}

//删除标签
export function deleteTag(data) {
    return request({
        url: "/v1/base/tags/delete-tags",
        method: "post",
        data,
    });
}

  
//更新标签
export function updateTag(data) {
    return request({
        url: "/v1/base/tags/update-tags",
        method: "post",
        data,
    });
}